package com.sansecy.customview;

import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;

import com.sansecy.customview.view.CalibrationView;
import com.sansecy.customview.view.IndicatorLayoutConstraintLayout;

public class IndicatorLayoutActivity extends AppCompatActivity {

    private int mDelta;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_indicator_layout);
        IndicatorLayoutConstraintLayout IndicatorLayoutConstraintLayout = findViewById(R.id.IndicatorLayoutConstraintLayout);
        mDelta = 300;
        IndicatorLayoutConstraintLayout.setDelta(mDelta, 300 + 150);
        CalibrationView calibrationView = findViewById(R.id.calibrationView);
        calibrationView.setDelta(mDelta,300 + 150);
    }
}